<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2012-1-17
  Time: 10:45:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/inc/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
    用户登录
</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style type="text/css">
        body {
            padding: 0px;
            margin: 0px;
            font-family: "宋体";
            font-size: 12px;
            color: #0b3b8c;
            background: #f3f8ff;
        }

        ul, li {
            list-style: none outside; /* 清除浏览器中列表项默认的占位 */
            margin: 0px;
            padding: 0px; /* 清除浏览器默认的margin和padding值 */
        }

        li {
            height: 28px;
        }

        li div {
            float: left;
            line-height: 26px;
            width: 60px;
        }

        #dvlogin {
            width: 367px;
            margin: 180px auto 0 auto;
        }

        #dvlogin_top div {
            float: left;
            height: 33px;
        }

        #dvlogin_top_left {
            width: 4px;
            background: url(${path}/img/login/top_left.gif);
        }

        #dvlogin_top_center {
            width: 339px;
            background: url(${path}/img/login/top_bg.gif);
        }

        #dvlogin_top_center div {
            height: 27px;
            width: 88;
            margin-left: 8px;
            float: left;
        }

        #dvlogin_top_right {
            width: 4px;
            background: url(${path}/img/login/top_right.gif);
        }

        #dvlogin_mid {
            width: 345px;
            height: auto !important;
            height: 150px;
            border: 1px solid #145fa2;
            border-top: none;
            background: url(${path}/img/login/box_bg.png);
            overflow: hidden;
        }

        .textstyle1, .textstyle2, .textstyle3 {
            border: 1px solid #5fc1fb;
            height: 18px;
            font-size: 12px;
            font-family: 宋 体;
            line-height: 18px;
            color: #333;
            width: 166px;
            padding: 0;
        }

        .textstyle3 {
            width: 79px;
        }

        .textstyle2 {
            font-size: 8px;
        }

        .a_close {
            width: 40px;
            height: 18px;
            display: block;
            background: url(${path}/img/login/btnclose.gif);
            float: right;
            margin-right: 4px;
        }

        .a_close:hover {
            background: url(${path}/img/login/btnclose_hover.gif);
        }

        td {
            height: 30px;
        }
    </style>
</head>
<body>
<form name="form1" method="post" action="${path}/admin/logon" id="form1">


    <div id="dvlogin">
        <div id="dvlogin_top">
            <div id="dvlogin_top_left"></div>
            <div id="dvlogin_top_center">
                <div><img src="${path}/img/login/btnbar.png"/></div>
                <a class="a_close" href="javascript:closewin()" title="关闭"></a>
            </div>
            <div id="dvlogin_top_right"></div>
        </div>
        <div style="clear:both"/>
        <div id="dvlogin_mid">
            <table width="224" border="0" cellspacing="0" cellpadding="0" style="margin:12px auto;">
                <tr>
                    <td>用户名：</td>
                    <td colspan="2">
                        <input name="username"  type="text" id="username" class="textstyle1"/>
                    </td>
                </tr>
                <tr>
                    <td>密&nbsp;&nbsp;码：</td>
                    <td colspan="2">
                        <input name="password"  type="password" id="password" class="textstyle2"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <c:if test="${!empty code}">
                             <font color="red">用户名或密码不正确!</font>
                         </c:if>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td style="padding-top:4px;">

                        <input type="image" name="btnlogin" id="btnlogin" src="${path}/img/login/btnlog.png"
                               style="border-width:0px;" onclick="form1.submit()"/>
                    </td>
                    <td style="padding-top:4px;">
                        <input type="image" name="btnrewirte" id="btnrewirte" src="${path}/img/login/btnclear.png"
                               style="border-width:0px;" onclick="form1.reset()"/>
                    </td>
                </tr>
            </table>
        </div>
    </div>

</body>
</html>
